package com.jw.blog.wblog.service.impl;

import com.jw.blog.wblog.entity.Log;
import com.jw.blog.wblog.entity.custom.TimeAndCount;
import com.jw.blog.wblog.mapper.LogMapper;
import com.jw.blog.wblog.service.ILogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 无良芳
 * @since 2020-06-17
 */
@Service
public class LogServiceImpl extends ServiceImpl<LogMapper, Log> implements ILogService {
    @Resource
    private LogMapper logMapper;

    @Override
    public List<TimeAndCount> selectUserLogByDate(Map<String, Object> map) {
        return logMapper.selectUserLogByDate(map);
    }
}
